package com.sy.blog.service;

import com.sy.blog.vo.Result;
import com.sy.blog.vo.params.CommentParams;

public interface CommentService {

    /**
     * 根据文章id查询文章评论
     * @return
     */
    Result findCommentByArticleId(Long id);

    /**
     * 用户评论功能
     * @param commentParams
     * @return
     */
    Result doComment(CommentParams commentParams);
}
